﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace XSTDZ.ERP.Application.DataContracts
{
    public class RoleDto
    {
        public Guid Id { get; set; }
        [Required(ErrorMessage = "请输入编码!")]
        [Display(Name = "编码：")]
        public string Code { get; set; }
        [Display(Name = "角色名称")]
        [Required(ErrorMessage = "{0}不能为空!")]
        public string Description { get; set; }
        public  ICollection<Guid> PermissionIds { get; set; }
    }
}
